﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using SingleUserMall.Authorization.Users;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static SingleUserMall.Authorization.Users.User;

namespace SingleUserMall.Users.VO
{
    [AutoMapFrom(typeof(User))]
    public class UserMiniVO:EntityDto<long>
    {
        /// <summary>
        /// 头像
        /// </summary>
        public string Avatar { get; set; }
        /// <summary>
        /// 昵称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 性别（0-未知，1-男，2-女）
        /// </summary>
        public Gender Gender { get; set; }
        /// <summary>
        /// token
        /// </summary>
        public string Token { get; set; }
        /// <summary>
        /// 手机号码
        /// </summary>
        public string PhoneNumber { get; set; }
        /// <summary>
        /// 我的团队人数
        /// </summary>
        public int SourceUserQty { get; set; }
        /// <summary>
        /// 待付款订单数
        /// </summary>
        public int WaitPayCount { get; set; }
        /// <summary>
        /// 待成团订单数
        /// </summary>
        public int WaitGroupCount { get; set; }
        /// <summary>
        /// 待发货订单数
        /// </summary>
        public int WaitSendCount { get; set; }
        /// <summary>
        /// 待收货订单数
        /// </summary>
        public int WaitGetCount { get; set; }
        /// <summary>
        /// 待提货订单数
        /// </summary>
        public int WaitLiftCount { get; set; }
        /// <summary>
        /// 待评价订单数
        /// </summary>
        public int WaitAppraiseCount { get; set; }
        /// <summary>
        /// 个人佣金
        /// </summary>
        public decimal Commision { get; set; }
        /// <summary>
        /// 是否是会员
        /// </summary>
        public bool IsVip { get; set; }
        /// <summary>
        /// 会员等级
        /// </summary>
        public int VipLevel { get; set; }
        /// <summary>
        /// 是否推广大使
        /// </summary>
        public bool IsPromotion { get; set; }
        /// <summary>
        /// 注册时间
        /// </summary>
        public DateTime CreationTime { get; set; }
        /// <summary>
        /// 用户钱包金额
        /// </summary>
        public decimal UserWallet { get; set; }
        /// <summary>
        /// 用户已砍价格
        /// </summary>
        public decimal UserReducedPrice { get; set; }
        /// <summary>
        /// 砍价时间
        /// </summary>
        public DateTime? ReduceTime { get; set; }
        /// <summary>
        /// 个人红包金额
        /// </summary>
        public decimal UserRedPacket { get; set; }
        /// <summary>
        /// 用户注册店铺名称
        /// </summary>
        public String UserManagerName { get; set; }
        /// <summary>
        /// 代理等级
        /// </summary>
        public int AgencyLevel { get; set; }
        /// <summary>
        /// 是否关注
        /// </summary>
        public Subscribe? Subscribes { get; set; }
        /// <summary>
        /// 个人体验金
        /// </summary>
        public decimal Points { get; set; }
        /// <summary>
        /// 个人已释放体验金
        /// </summary>
        public decimal CanUsePoints { get; set; }
    }
}
